Learn R Programming

poppr (version 2.1.1)

[,snpclone,ANY,ANY,ANY-method: Methods used for the snpclone object

Description

Default methods for subsetting snpclone objects.

Usage

## S3 method for class 'snpclone,ANY,ANY,ANY':
[(x, i, j, ..., drop = FALSE)

## S3 method for class 'snpclone': initialize(.Object, ..., mlg, mlgclass = TRUE)

## S3 method for class 'snpclone': show(object)

Arguments

x
a snpclone object
i
vector of numerics indicating number of individuals desired
j
a vector of numerics corresponding to the loci desired.
...
passed on to the genlight object.
drop
set to FALSE
.Object
a character, "snpclone"
mlg
a vector where each element assigns the multilocus genotype of that individual in the data set.
mlgclass
a logical value specifying whether or not to translate the mlg object into an MLG class object.
object
a snpclone object